package cn.edu.scau.cmi.dengshixin.dao;

import java.util.List;
import cn.edu.scau.cmi.dengshixin.domain.Advisor;

public interface AdvisorDAO {

	public List<Advisor> getAdvisors();
	
	//新增指导关系
	public void addAdvisor(Advisor advisor);
	
	//删除指导关系
	public void delAdvisor(Advisor advisor);
	
	//修改指导关系
	public void modifyAdvisor(Advisor advisor);
	
	//查询指导关系
	public Advisor findAdvByStuID(String stu_id);
	
	public Advisor findAdvByTeaID(String tea_id);
	
}
